package com.tencent.qf.team.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tencent.qf.team.dal.DmAppLeaderTaskJoinRecord;
import com.tencent.qf.team.dal.DmAppLeaderTaskJoinRecordKey;
import com.tencent.qf.team.dto.request.LeaderTaskJoinRecordLeaderCountRequest;
import com.tencent.qf.team.dto.request.LeaderTaskJoinRecordUnJoinLeaderCountRequest;
import com.tencent.qf.team.dto.response.LeaderTaskJoinRecordLeaderCountResponse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@DS("biappdb")
@Mapper
public interface DmAppLeaderTaskJoinRecordDao {
    DmAppLeaderTaskJoinRecord selectByPrimaryKey(DmAppLeaderTaskJoinRecordKey key);

    List<LeaderTaskJoinRecordLeaderCountResponse> listCanJoinTaskLeaderCount(LeaderTaskJoinRecordLeaderCountRequest request);

    List<DmAppLeaderTaskJoinRecord> listUnJoinTaskLeader(LeaderTaskJoinRecordUnJoinLeaderCountRequest data);
}